<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class log_master extends CI_Controller {
	
	function __construct(){
		parent::__construct();
		$this->load->model('mdl_log_master');
		
		//$this->output->enable_profiler(true);
	}
	
	function index(){
		$this->load->view('log_master');
	}
	
	function grid(){
		$data = $this->mdl_log_master->getdata();
		echo $this->mdl_log_master->togrid($data['row_data'], $data['row_count']);
	}
	
}